package com.carepad.action;

import org.springframework.beans.factory.annotation.Autowired;

import com.carepad.entity.Users;
import com.carepad.service.UsersService;
import com.opensymphony.xwork2.ActionSupport;

public class MasterAction extends ActionSupport{

	private static final long serialVersionUID = 1L;

	private int usersCount;

	private Users lastLogin;

	@Autowired
	private UsersService usersService;

	public String execute() {
		return SUCCESS;
	}

	public int getUsersCount() {
		return usersCount;
	}

	public void setUsersCount(int usersCount) {
		this.usersCount = usersCount;
	}

	public Users getLastLogin() {
		return lastLogin;
	}

	public void setLastLogin(Users lastLogin) {
		this.lastLogin = lastLogin;
	}

}
